# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(kontAMabilW)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(KontAMabilW_SRCS kontAMabilWPlugin.cpp)
QT4_WRAP_CPP(KontAMabilW_SRCS kontAMabilWPlugin.h)

add_library(KontAMabilW SHARED ${KontAMabilW_SRCS})
add_dependencies(KontAMabilW KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(KontAMabilW KontAMabil ${QT_LIBRARIES})

install(TARGETS KontAMabilW DESTINATION "${QT_PLUGINS_DIR}/designer" LIBRARY)
install(TARGETS KontAMabilW ${INSTALL_DESIGNER_PLUGINS_DEFAULT_ARGS} )

